package cn.iocoder.yudao.module.product.controller.admin.shopfavorite.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 商铺收藏新增/修改 Request VO")
@Data
public class ShopFavoriteSaveReqVO {

    @Schema(description = "收藏编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "商铺ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "商铺ID不能为空")
    private Long shopId;

    @Schema(description = "序号")
    private String sortNum;
}